<?php
class FrbMenuClientController extends DooController implements DooModule
{
  /**
   *
   * path
   * @var String
   */
  private $_path;

  /**
   *
   * xml base XMLElement
   * @var SimpleXMLElement
   */
  private $_xmlMenu;

  /**
   *
   * Constructeur
   * @return
   */
  public function __construct() {
    $this->_path = Doo::conf()->SITE_PATH.'data/newsletterDB.xml';
    $this->_xmlDb = new SimpleXMLIterator($this->_path, null, true);
    $tmp = $this->_xmlDb->xpath("/addressDb/address");
    foreach ($tmp as $t) {
      $this->_address[] = (string) $t;
    }
  }

  /**
   *
   * Get les entrées
   * @return
   */
  public function getMenuEntrees() {
    echo "";
  }

  /**
   *
   * Description here
   * @return
   */
  public function getMenuPlats() {
    echo "";
  }


  /**
   *
   * Description here
   * @return
   */
  public function getMenuOmelettes() {
    echo "";
  }

}